const apiUrl = {
  // common
  CodeDetail: '/common/codeDetail',
  LasCodeItem: '/common/lasCodeItem',
  GetDepByRole: '/common/getDepByRole',
  PageMenu: '/common/pageMenu',
  TopMenu: '/common/topMenu',
  RoleNames: '/common/roleNames',
  Buttons: '/common/buttons', // 获取所有buttonList
  Deparments: '/common/deparments', // 获取所有buttonList
  // login
  Login: '/auth/login',
  Logout: '/auth/logout',
  UserInfo: '/auth/userInfo',
  // systemAdmin
  Accounts: '/systemAdmin/accounts',
  Account: '/systemAdmin/account',
  Roles: '/systemAdmin/roles',
  Role: '/systemAdmin/role',
  Menus: '/systemAdmin/menus',
  Menu: '/systemAdmin/menu',
  ChangePassword: '/systemAdmin/changePassword',
  // dataManage
  Contracts: '/dataManage/contracts',
  Contract: '/dataManage/contract',
  Certificates: '/dataManage/certificates',
  Certificate: '/dataManage/certificate',
  // attachment
  Attachment: '/attachment/attachment',
  Upload: '/attachment/upload',
  // statistics
  Statistics: {
    contracts: '/statistics/contracts',
    certificates: '/statistics/certificates',
    contractRankByAmount: '/statistics/contracts/amountRanking',
    contractRankByDep: '/statistics/contracts/depRanking',
    countNumGroupByDepThisYear: '/statistics/contracts/countNumGroupByDepThisYear',
    countDepGroupByYear: '/statistics/contracts/countDepGroupByYear',
    countNumByTypeYear: '/statistics/contracts/countNumByTypeYear',
    certTypeRankThisYear: '/statistics/certificates/certTypeRankThisYear'
  },
  Notice: {
    notice: '/notice',
    list: '/notice/list',
    releasedList: '/notice/list/released',
    updateRead: '/notice/update/read',
    updateUnRead: '/notice/update/unRead'
  },
  Process: {
    applyList: '/actBusiness/listData',
    saveApplyList: '/actBusiness/add',
    uploadImg: '/sys/common/upload',
    applySubmit: '/actBusiness/apply',
    processList: '/activiti_process/listData',
    doneList: '/actTask/doneList',
    todoList: '/actTask/todoList'
  }
}
export default apiUrl
